unit DatamoduleADO;

interface

uses
  SysUtils, Classes, DB, ADODB;

type
  TdmOraADO = class(TDataModule)
    conOraADO: TADOConnection;
    procedure DataModuleCreate(Sender: TObject);
    procedure DataModuleDestroy(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  dmOraADO: TdmOraADO;

implementation

{$R *.dfm}

procedure TdmOraADO.DataModuleCreate(Sender: TObject);
begin
  conOraADO.Open;
end;

procedure TdmOraADO.DataModuleDestroy(Sender: TObject);
begin
  conOraADO.Close;
end;

end.
